$OpenBSD: patch-src_quadtree_cpp,v 1.1 2017/05/13 22:00:23 espie Exp $

Index: src/quadtree.cpp
--- src/quadtree.cpp.orig
+++ src/quadtree.cpp
@@ -782,7 +782,7 @@ void quadsquare::Render(const quadcornerdata& cd, GLub
 			}
 
 			for (size_t j=0; j<numTerrains; j++) {
-				if (Course.TerrList[j].texture > 0) {
+				if (Course.TerrList[j].texture != 0) {
 					Course.TerrList[j].texture->Bind();
 
 					for (GLuint i=0; i<VertexArrayCounter; i++) {
